Shadow: Make gfn_t always an unsigned long. GFNs are passed around
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Dec 2007 10:10:37 +0000 (10:10 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Dec 2007 10:10:37 +0000 (10:10 +0000)
commitfaaa844f73ecc1acad0858ed71ae31cc7d9ed063
tree0dc2465c83ff285e017efba01c960432bf14812c
parent2fa391823baa5055b180d947879f4d7cde71e6ea
Shadow: Make gfn_t always an unsigned long.  GFNs are passed around
outside the shadow code, and although a 32-bit gfn_t is guaranteed to
hold all GFNs that can be found in a 32-bit pagetable, comparisons
with INVALID_GFN aren't safe when (-1UL) != (u32)(-1).
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/shadow/types.h